DescribeVpnGateway
Description
call the DescribeVpnGateway interface to query the details of the specified VPN gateway.
Request Method
POST
Request Path
/apsara/route/Vpc/DescribeVpnGateway
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
VpnGatewayId | BODY | string | Yes | vpn-bp1q8bgx4xnkm2ogj**** | VPN gateway ID. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
RegionId | BODY | string | Yes | cn-qingdao-env66-d01 | the region ID where the VPN gateway is located. you can obtain the region by calling DescribeRegions interface ID. |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}